package com.boco.modules.fdoc.model;

import java.util.Date;

import com.boco.common.persistence.DataEntity;

/**
 * t_user_relations 实体类 Thu Jul 28 10:40:49 CST 2016 sun
 */

public class UserRelationsEntity extends DataEntity<UserRelationsEntity>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String uid;// 当前用户ID
	private String mainUserUid; //家庭户主ID
	private String userName;// 当前用户姓名
	private String name;// 姓名
	private String idCard;// 身份证
	private String tel;// 电话
	private String sex;// 性别
	private int age;// 年龄
	private String relation;// 与当前用户关系
	private String img;// 证件照URL
	private String area;// 所属区域
	private String contactPerson;// 默认联系人
	private String patientCardNum;// 就诊卡号
	private Date createTime; //创建时间
	private Date updateTime; //最后一次修改时间

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUid() {
		return uid;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserName() {
		return userName;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getTel() {
		return tel;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSex() {
		return sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public String getRelation() {
		return relation;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getImg() {
		return img;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getContactPerson() {
		return contactPerson;
	}

	public void setPatientCardNum(String patientCardNum) {
		this.patientCardNum = patientCardNum;
	}

	public String getPatientCardNum() {
		return patientCardNum;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getMainUserUid() {
		return mainUserUid;
	}

	public void setMainUserUid(String mainUserUid) {
		this.mainUserUid = mainUserUid;
	}
	
}
